package com.dh.project.mapper;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.dh.project.model.CustomerInfo;
import com.dh.project.model.PageModel;

import java.util.List;
import java.util.Map;

public interface CustomerInfoMapper extends AutoMapper<CustomerInfo>{
    int deleteByPrimaryKey(Integer customer_id);

    int insert(CustomerInfo record);

    int insertSelective(CustomerInfo record);

    CustomerInfo selectByPrimaryKey(Integer customer_id);

    int updateByPrimaryKeySelective(CustomerInfo record);

    int updateByPrimaryKey(CustomerInfo record);

    List<CustomerInfo> selectCustomerListByMap(Map map);

    PageModel selectCustomerListByMapCount(Map map);

    CustomerInfo selectCustomerByPhone(Map map);
}